<head>
<meta content="es-ni" http-equiv="Content-Language">
</head>
<b>Control de asignaturas</b>
<form method="post" action="">
<br>Codigo<br><input name="rut" style="width: 251px" type="text">
<br>Descripcion<br><input name="nombres" style="width: 250px" type="text">
<br>Periodos<br><input name="apellidopat" style="width: 251px" type="text">
<br><input name="continuar" style="width: 188px" type="submit" value="Continuar">
</form>

<table>
<tr>
     <th>Codigo</th>
</tr>
<?php foreach($Asignaturas as $row): ?> 
<tr>
     <td><?php echo $row['Asignatura']['CodAsig']; ?></td>
</tr>
<?php endforeach; ?> 
</table>
